package com.harmontronics.hanma.paas.paas.dto.output;

import com.baomidou.mybatisplus.annotation.TableField;
import com.harmontronics.hanma.paas.paas.domain.app.entity.valueobject.ModelTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * ${comments}
 *
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-03-31 16:40:00
 */
@Data
public class HmModelResult {

    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    private Long id;
    /**
     * 模型名
     */
    @ApiModelProperty(value = "模型名")
    private String name;
    /**
     * 模型编码
     */
    @ApiModelProperty(value = "模型编码")
    private String code;
    /**
     * 模型类型
     */
    @ApiModelProperty(value = "模型类型")
    private ModelTypeEnum type;

    /**
     * 支持流程
     */
    private Boolean supportProcess;

    /**
     * 支持树状结构
     */
    private Boolean supportTree;

    /**
     * 当前版本
     */
    @ApiModelProperty(value = "当前版本")
    private Integer version;

    /**
     * 视图名
     */
    @ApiModelProperty(value = "视图名")
    private String viewName;


    /**
     * 数据源ID
     */
    @ApiModelProperty(value = "数据源ID")
    private Long datasourceId;

    @ApiModelProperty(value = "数据源KEY")
    private String datasourceKey;

    @ApiModelProperty(value = "http服务ID")
    private Long httpServiceId;

    @ApiModelProperty(value = "http服务KEY")
    private String httpServiceKey;

    /**
     * 模型描述
     */
    @ApiModelProperty(value = "模型描述")
    private String description;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String modifyBy;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyDate;

}
